package io.github.pnoker.driver.service;

import io.github.pnoker.common.driver.entity.bean.PointValue;
import io.github.pnoker.common.driver.entity.bo.DeviceBO;
import io.github.pnoker.common.mqtt.entity.MqttMessage;

import java.util.List;
import java.util.Map;

public interface ResolveMqttMessageService {


    /**
     * 获取设备信息
     */
    public Map<String,DeviceBO > getDeviceBoMap();


    /**
     * 解析获取pointValue从mqtt message中
     *
     * @param mqttMessage
     */
    public List<PointValue> getPoinValue(MqttMessage mqttMessage);
}
